package com.dy.lock.screen.component;

import java.util.List;

import com.dy.lock.screen.pojo.CustomerLikeInfo;
import com.dy.lock.screen.scoket.Head;

public interface CustomerLikeComponent {

	/**
	 * 客户文章点赞或取消点赞
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public boolean materialLikeOrCancelLike(String body, Head head);

	/**
	 * 客户文章评论点赞或取消点赞
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public boolean materialCommentLikeOrCancelLike(String body, Head head);

	/**
	 * 列表查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public List<CustomerLikeInfo> list(String body, Head head);

	/**
	 * 我的赞列表
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public List<CustomerLikeInfo> myLikeList(String body, Head head);

}
